﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="${site.theme_dir}css/init.css" rel="stylesheet" type="text/css">
    <link href="${site.theme_dir}css/Search.css" rel="stylesheet"
          type="text/css" />
    <link href="${site.theme_dir}css/head.css" rel="stylesheet" type="text/css">
    <title>
        ${config.SiteTitle}-管理搜索
    </title>
    <script type="text/javascript" src="${site.dir}Scripts/jquery_min.js"></script>
</head>
<body>
    <div id="page">
        #parse("shared/_incs/_header.html")
        <div class="content">
            #parse("shared/_incs/_search.html")
            <div class="leftbox">
                <div class="Categories">
                    <h2>
                        管理分类
                    </h2>

                </div>
                <div class="Categories">
                    <h2>
                        价格区间
                    </h2>
                    <strong><a href="${url.index}search.aspx?low=0&high=100">0-100元区间 （36）</a></strong> <strong>
                        <a href="${url.index}search.aspx?low=100&high=200">101元-200元区间（200）</a>
                    </strong><strong>
                        <a href="${url.index}search.aspx?low=201&high=300">
                            201元-300元 （5）
                        </a>
                    </strong><strong>
                        <a href="${url.index}search.aspx?low=301&high=400">
                            301元-400元区间
                            （12）
                        </a>
                    </strong> <strong><a href="${url.index}search.aspx?low=401&high=500">401元-500元区间 （16）</a></strong>
                    <strong><a href="${url.index}search.aspx?low=501&high=0">500元以上 （2）</a> </strong><span>请输入查询价格区间</span>
                    <div class="txet">
                        <form id="search" method="post" action="/search.aspx">
                            <input type="text" name="low" id="low" class="textfield_02" />
                            -
                            <input type="text" name="high" id="high" class="textfield_02" />
                            <input type="submit" name="button2" id="button2" value="" class="button2" />
                        </form>
                    </div>
                </div>
                <div class="Advertisement">
                    <a>
                        <img src="${site.theme_dir}images/Search/pic_02.gif" width="209"
                             height="300">
                    </a>
                </div>
            </div>
            <form id="form1" runat="server">
                <div class="rightbox">
                    <img src="${site.theme_dir}images/Search/guanggao.gif" width="730"
                         height="95">
                    <span class="guild">首页 > 管理搜索</span>
                    <div class="shop_px">
                        <span class="shop_span01">显示方式：</span>
                        <%-- 显示方式2--%>
                        <a href="${url.index}Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=0&showid=2&orderid=0&low=0&high=0&pageid=1">
                            <img src="${site.theme_dir}images/Search/icon_01.gif" width="18"
                                 height="17">
                        </a>
                        <%--  显示方式1  --%>
                        <a href="${url.index}Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=0&showid=1&orderid=0&low=0&high=0&pageid=1">
                            <img src="${site.theme_dir}images/Search/icon_02.gif" width="18"
                                 height="17">
                        </a><span class="shop_span01">排序方式：</span>
                        <%--  排序方式1--%>
                        <a href="${url.index}Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=1&low=${low}&high=${high}&pageid=1">
                            <img src="${site.theme_dir}images/Search/icon_03.gif" width="18"
                                 height="17">
                        </a>
                        <%-- 排序方式2  --%>
                        <a href="${url.index}Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=2&low=${low}&high=${high}&pageid=1">
                            <img src="${site.theme_dir}images/Search/icon_04.gif" width="20"
                                 height="17">
                        </a>
                        <%-- 排序方式3--%>
                        <a href="${url.index}Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=3&low=${low}&high=${high}&pageid=1">
                            <img src="${site.theme_dir}images/Search/icon_06.gif" width="17"
                                 height="17">
                        </a>
                        <%--  下拉排序凡是--%>
                        <select name="ddlgoorder" id="ddlgoorder" class="select_1" onchange="searchselect();">
                            <option value="/Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=1&low=${low}&high=${high}&pageid=1">
                                上架新品
                            </option>
                            <option value="/Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=2&low=${low}&high=${high}&pageid=1">
                                按销量由高到低
                            </option>
                            <option value="/Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=3&low=${low}&high=${high}&pageid=1">
                                按价格从低到高
                            </option>
                            <option value="/Search.aspx?txtsearchkey=${Server.UrlEncode(searchkey)}&productclassid=${_classid}&showid=${_showid}&orderid=4&low=${low}&high=${high}&pageid=1">
                                按价格从高到低
                            </option>
                        </select>
                        <div class="clear">
                        </div>
                    </div>

                    <ul class="ul_pic">
                        <asp:Repeater ID="rpList1" runat="server">
                            <ItemTemplate>
                                <li>
                                    <a href="product-details-<%#DataBinder.Eval(Container.DataItem," ID")}
                                        .aspx"
                                        class="gray">
                                        <img src="<%# this.getPic(DataBinder.Eval(Container.DataItem," ProductBigPic"),"s")}" width="150"
                                        height="200"><%#Input.CutString(DataBinder.Eval(Container.DataItem,"ProductName").ToString(),20,"")}
                                    </a><br />
                                    <span class="gray_font">市场价<a>￥<%#DataBinder.Eval(Container.DataItem, "ProductMarketPrice")%></a></span>
                                    团购<span class="red_font">￥<%#DataBinder.Eval(Container.DataItem, "ProductMemberPrice")%></span>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                        <div class="clear">
                        </div>
                    </ul>
                    <asp:Repeater ID="rpList2" runat="server">
                        <ItemTemplate>
                            <div class="ul_pic01">
                                <a href="product-details-<%#DataBinder.Eval(Container.DataItem," ID")}
                                    .aspx" target="_blank">
                                    <img src="<%#this.getPic(DataBinder.Eval(Container.DataItem," ProductBigPic"),"s")}" width="150"
                                    height="200" class="sp">
                                </a> <span class="nr">
                                    <h2>
                                        <a href="product-details-<%#DataBinder.Eval(Container.DataItem," ID")}
                                            .aspx" target="_blank">
                                            <%#DataBinder.Eval(Container.DataItem,"ProductName")}
                                        </a>
                                    </h2>
                                    <ul class="ul_pic_01">
                                        <%-- 产品属性--%>
                                        <asp:HiddenField ID="hfProductFields" runat="server" Value='<%#Bind("ProductSingleFields")}' />
                                        <asp:Repeater ID="rpSingleList" runat="server">
                                            <ItemTemplate>
                                                <li><span><%#DataBinder.Eval(Container.DataItem,"m1")}：</span><%#DataBinder.Eval(Container.DataItem,"m2")}</li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <div class="clear">
                                        </div>
                                    </ul>
                                </span><span class="ul_pic_02">
                                    <ul>
                                        <li><span>市场价：</span><a class="no"><%#DataBinder.Eval(Container.DataItem, "ProductMarketPrice")%>元</a></li>
                                        <li><span class="Price">团购价：￥<%#DataBinder.Eval(Container.DataItem, "ProductMemberPrice")%></span></li>
                                        <li>
                                            <span>管理级别：</span><br />
                                            <span>
                                                <img src="${site.theme_dir}images/Search/huangguan_lan.gif" width="16"
                                                     height="16"><img src="${site.theme_dir}images/Search/huangguan_lan.gif"
                                                                      width="16" height="16"><img src="${site.theme_dir}images/Search/huangguan_lan.gif"
                                                                                                  width="16" height="16"><img src="${site.theme_dir}images/Search/huangguan_lan.gif"
                                                                                                                              width="16" height="16"><img src="${site.theme_dir}images/Search/huangguan_lan.gif"
                                                                                                                                                          width="16" height="16">
                                            </span>
                                            <div class="clear">
                                            </div>
                                        </li>
                                        <li>
                                            <span>共有0条信息</span><br />
                                            <input type="button" name="button" id="button" value="" class="button_01" onclick="javascript:window.location.href='/product-details-<%#DataBinder.Eval(Container.DataItem, " ID")}.aspx'" />
                                        </li>
                                    </ul>
                                </span>
                                <div class="clear">
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    <div class="shop_px_foot">
                        <webdiyer:AspNetPager ID="Pager" runat="server" HorizontalAlign="Center" Width="100%"
                                              ShowPageIndexBox="Always" EnableUrlRewriting="true" OnPageChanged="Pager_PageChanged"
                                              PageSize="12">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </form>
            <div class="clear">
            </div>
        </div>
        #parse("shared/_incs/_dismode.html")
        #parse("shared/_incs/_footer.html")
    </div>

    <script type="text/javascript">
        function searchselect() {
            var url = $("#ddlgoorder").val();
            window.location.href = url;
        }
    </script>

</body>
</html>
